<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
		<link rel="stylesheet" href="style.css">
	</head>
<title>Delete Link</title>
</head>

<body>

<p><b>Feature Name:</b> DeleteLink Link<br><b>Feature URL:</b>&nbsp; /api/links/DeleteLink_link.php<br>
<b>Parameters: </b><br>&nbsp;&nbsp;&nbsp;
link<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
- url of the link to remove, String, Optional<br>&nbsp;&nbsp;&nbsp;
xml<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
- Defines if returns xml, Integer(0-disabled, 1-enabled), Optional (0 by 
default)
<br><br><b>Examples:</b><br>
/api/links/delete_link.php?&amp;link=www.facebook.com<br>
/api/links/delete_link.php?&amp;link=www.facebook.com&xml=1<br><br>

<b>Output :</b>
<br>{"Result":{"DeleteLink":"success"}}<br>
{"Result":{"DeleteLink":"noLinkInParameters"}}<br>
{"Result":{"DeleteLink":"notLoggedIn"}}<br>
{"Result":{"DeleteLink":"UserDoesntHaveThatLink"}}<br>
{"Result":{"DeleteLink":"LinkDoesntExist"}}<br>
{"Result":{"DeleteLink":"dbError"}}<br>

</body>
</html>
<xmp>
<?xml version="1.0"?>
<Result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://gnomo.fe.up.pt/~ei10048/trabalho2/xsd.xsd">
	<DeleteLink>Success</DeleteLink>
</Result>

<?xml version="1.0"?>
<Result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://gnomo.fe.up.pt/~ei10048/trabalho2/xsd.xsd">
	<DeleteLink>noLinkInParameters</DeleteLink>
</Result>

<?xml version="1.0"?>
<Result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://gnomo.fe.up.pt/~ei10048/trabalho2/xsd.xsd">
	<DeleteLink>notLoggedIn</DeleteLink>
</Result>

<?xml version="1.0"?>
<Result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://gnomo.fe.up.pt/~ei10048/trabalho2/xsd.xsd">
	<DeleteLink>dbError</DeleteLink>
</Result>

<?xml version="1.0"?>
<Result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://gnomo.fe.up.pt/~ei10048/trabalho2/xsd.xsd">
	<DeleteLink>UserDoesntHaveThatLink</DeleteLink>
</Result>

<?xml version="1.0"?>
<Result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://gnomo.fe.up.pt/~ei10048/trabalho2/xsd.xsd">
	<DeleteLink>LinkDoesntExist</DeleteLink>
</Result>